* {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 14px;
    box-sizing: border-box;
}
/* 页眉 */
header .top {
    width: 100%;
    height: 40px;
    background: rgb(223, 223, 222);
    text-align: center;
    display: flex;
    justify-content: space-between;
}
/* 联系方式 */
header .top div:first-of-type {
    width: 200px;
    line-height: 40px;
    margin-left: 150px;
}
/* 收藏 */
header .top div:last-of-type {
    width: 165px;
    height: 40px;
    margin-right: 150px;
}
header .top div:last-of-type span {
    display: inline-block;
    width: 80px;
    line-height: 40px;
}
/* 导航栏 */
header nav {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    background: #fff;
}
header nav .logo {
    width: 300px;
    display: flex;
    margin-left: 150px;
}
header nav .logo div:last-of-type {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}
header nav .logo div:last-of-type h1 {
    font-size: 22px;
}
nav .logo div:last-of-type span {
    font-size: 12px;
}
/* 功能列表 */
header nav ul {
    width: 580px;
    height: 100px;
    display: flex;
    margin-right: 140px;
}
header nav ul li {
    flex: 1 1 auto;
}
header nav ul li a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    font-weight: bold;
    position: relative;
    color: black;
}
header nav ul a:hover {
    background: rgb(250, 248, 248);
}
header nav ul a:hover::after {
    content: "";
    width: 100%;
    height: 2px;
    background-color: rgb(60, 156, 211);
    position: absolute;
    bottom: 0px;
    left: 0px;
}

/* 页脚 */
footer {
    width: 100%;
}
footer .top {
    color: #fff;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(60, 156, 211);
}
footer .top ul {
    display: flex;
}
footer .top ul:first-of-type li span {
    display: inline-block;
    padding: 16px;
    background: url(../image/qq.jpg) no-repeat;
}
footer .top ul:first-of-type li:nth-of-type(2) span {
    background-position-x: 2px;
}
footer .top ul:first-of-type li:nth-of-type(3) span {
    background-position-x: -46px;
}
footer .top ul:first-of-type li:nth-of-type(4) span {
    background-position-x: 2px;
}
footer .top ul:last-of-type {
    align-items: center;
}
footer .top ul:last-of-type a {
    color: #fff;
}
footer .top ul:last-of-type .drop {
    width: 5px;
    height: 5px;
    background-color: #fff;
    border-radius: 50%;
    margin: 5px;
}
footer .bottom {
    width: 100%;
    height: 35px;
    color: rgb(60, 156, 211);
    background-color: rgb(28, 27, 41);
    text-align: center;
}
footer .bottom p {
    line-height: 35px;
}
